textures/1944_beach/beach_clouds
{
	nocompress
	qer_editorimage textures/1944_beach/beach_topclouds.tga
	q3map_lightrgb 0.7 0.8 0.85
	q3map_sun 1 .96 .87 120 140 60
	q3map_skylight 60 3
	q3map_nofog
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nodlight
	surfaceparm sky
	
	skyparms textures/skies_sd/wurzburg_env/sky 512 -

 
	sunshader textures/1944_beach/beach_sun
 
	
	{	fog off
		map textures/1944_beach/beach_topclouds.tga
		tcMod scale 2.5 2.5
		tcMod scroll 0.0015 -0.003
		rgbGen identityLighting
	}

	{
		fog off
		clampmap textures/1944_beach/beach_sky_mask.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		tcMod scale 0.956 0.956
		tcMod transform 1 0 0 1 -1 -1
		// rgbGen identityLighting
		//rgbGen const ( 0.6 0.6 0.6 ) 
		rgbGen const ( 0.4 0.4 0.4 ) 
	}
}
textures/1944_beach/beach_sun
{
	cull none
	q3map_nofog
	nofog
	{
		map textures/1944_beach/beach_sun.tga
		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen identityLighting
	}
}

textures/1944_beach/normandy_water
{
	qer_editorimage textures/1944_beach/normandy_water.tga
	qer_trans .75
	q3map_globaltexture
	cull disable
	nocompress
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	waterfogvars ( 0.11 0.13 0.15 ) 0.1
	nopicmip
{
		map textures/liquids_sd/seawall_specular.tga
		blendFunc GL_ONE GL_ONE
		rgbGen vertex
		tcGen environment
		depthWrite
	}
	
	{ 
		map textures/liquids_sd/sea_bright_na.tga
		blendFunc blend
		rgbGen identity
		alphaGen const .8
		tcmod scroll 0.015 0.09

	}
	{
		map textures/liquids_sd/seawall_foam.tga
		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen wave sin 0.2 0.1 0 0.2
		alphaGen vertex
		tcMod turb 0 0.15 0 0.45
		tcmod scroll -0.03 0.24
	}
	
}


textures/1944_beach/normandy_waternodraw
{
	qer_editorimage textures/1944_beach/normandy_waternodraw.tga
	qer_trans .05
	surfaceparm nodraw
	surfaceparm water
	surfaceparm fog
	
	fogparms ( 0.4 0.4 0.4 ) 1488
}

textures/1944_beach/fog_beach
{
	qer_editorimage textures/sfx/fog_grey1.tga
	
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm fog
	
	fogparms ( 0.4 0.4 0.4 ) 11904
}



textures/1944_beach/terrain_0
{
	q3map_baseshader textures/1944_beach/terrain_base
	surfaceparm gravelsteps

	{
		map textures/temperate_sd/rock_ugly_brown.tga
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_1
{
	q3map_baseshader textures/1944_beach/terrain_base
	surfaceparm gravelsteps

	{
		map textures/temperate_sd/sand_patchnoise.tga
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_2
{
	q3map_baseshader textures/1944_beach/terrain_base
	q3map_foliage models/foliage/weed.md3 1.0 16 0.010 0
	surfaceparm landmine
	surfaceparm grasssteps

	{
		map textures/temperate_sd/master_grass_dirt3.tga
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_3
{
	q3map_baseshader textures/1944_beach/terrain_base
	surfaceparm gravelsteps

	{
		map textures/1944_beach/ivy_rock.tga
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_4
{
	q3map_baseshader textures/1944_beach/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps

	{
		map textures/temperate_sd/dirt3.tga
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_0to1
{
	q3map_baseshader textures/1944_beach/terrain_base

	{
		map textures/temperate_sd/rock_ugly_brown.tga
		tcMod scale 0.167 0.167
	}
	{
		map textures/temperate_sd/sand_patchnoise.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_0to2
{
	q3map_baseshader textures/1944_beach/terrain_base
	q3map_foliage models/foliage/weed.md3 0.5 16 0.010 0
	surfaceparm gravelsteps

	{
		map textures/temperate_sd/rock_ugly_brown.tga
		tcMod scale 0.167 0.167
	}
	{
		map textures/temperate_sd/master_grass_dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_0to3
{
	q3map_baseshader textures/1944_beach/terrain_base

	{
		map textures/temperate_sd/rock_ugly_brown.tga
		tcMod scale 0.167 0.167
	}
	{
		map textures/1944_beach/ivy_rock.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_0to4
{
	q3map_baseshader textures/1944_beach/terrain_base

	{
		map textures/temperate_sd/rock_ugly_brown.tga
		tcMod scale 0.167 0.167
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_1to2
{
	q3map_baseshader textures/1944_beach/terrain_base

	{
		map textures/temperate_sd/sand_patchnoise.tga
		tcMod scale 0.167 0.167
	}
	{
		map textures/temperate_sd/master_grass_dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_1to3
{
	q3map_baseshader textures/1944_beach/terrain_base

	{
		map textures/temperate_sd/sand_patchnoise.tga
		tcMod scale 0.167 0.167
	}
	{
		map textures/1944_beach/ivy_rock.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_1to4
{
	q3map_baseshader textures/1944_beach/terrain_base

	{
		map textures/temperate_sd/sand_patchnoise.tga
		tcMod scale 0.167 0.167
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_2to3
{
	q3map_baseshader textures/1944_beach/terrain_base
	q3map_foliage models/foliage/weed.md3 1.0 16 0.005 0
	surfaceparm landmine
	surfaceparm grasssteps

	{
		map textures/temperate_sd/master_grass_dirt3.tga
		tcMod scale 0.167 0.167
	}
	{
		map textures/1944_beach/ivy_rock.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_2to4
{
	q3map_baseshader textures/1944_beach/terrain_base
	q3map_foliage models/foliage/weed.md3 0.5 16 0.005 0
	surfaceparm landmine
	surfaceparm grasssteps

	{
		map textures/temperate_sd/master_grass_dirt3.tga
		tcMod scale 0.167 0.167
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_3to4
{
	q3map_baseshader textures/1944_beach/terrain_base

	{
		map textures/1944_beach/ivy_rock.tga
		tcMod scale 0.167 0.167
	}
	{
		map textures/temperate_sd/dirt3.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaGen vertex
		tcMod scale 0.167 0.167
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/1944_beach/terrain_base
{
	q3map_lightmapaxis z
	q3map_lightmapmergable
	q3map_lightmapsize 512 512
	q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )

}

models/foliage/weed
{
	surfaceparm trans
	surfaceparm pointlight
	cull disable

	// distanceCull <inner&rt; <outer&rt; <alpha threshold&rt;
	distanceCull 256 1024 0.4

	{
		map models/foliage/weed.md3
		alphaFunc GE128
		rgbGen exactVertex
		alphaGen vertex
	}
}

textures/1944_beach/beach_dirt
{
	qer_editorimage textures/temperate_sd/dirt3.tga
	surfaceparm landmine
	surfaceparm gravelsteps
	implicitMap -
}


textures/1944_beach/beach_grass
{
	qer_editorimage textures/temperate_sd/master_grass_dirt3.tga
	q3map_foliage models/foliage/weed.md3 1.0 16 0.010 0
	surfaceparm landmine
	surfaceparm grasssteps
	implicitMap -
}

textures/1944_beach/metal_lattice
{
	qer_trans 0.85
	qer_editorimage textures/1944_beach/metal_lattice.tga
	cull disable
	nomipmaps
	nopicmip

	surfaceparm clipmissile
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm playerclip
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans

	implicitMask textures/1944_beach/metal_lattice.tga
}

textures/1944_beach/ivy
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm grasssteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

textures/1944_beach/bunkerdoor
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm woodsteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

textures/1944_beach/window_1
{
	surfaceparm trans
	surfaceparm alphashadow
	surfaceparm pointlight
	implicitBlend -
}

textures/1944_beach/wood_ladder
{
	qer_editorimage textures/1944_beach/wood_ladder.tga
	cull disable
	surfaceparm alphashadow
	surfaceparm woodsteps
	surfaceparm pointlight
	surfaceparm trans
	nopicmip
	implicitMask -
	surfaceparm ladder
	surfaceparm playerclip
}